package com.ruoyi.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.core.domain.model.MiniLoginUser;
import com.ruoyi.system.domain.MyHistory;
import com.ruoyi.system.domain.vo.ChatVo;

import java.util.List;

public interface IMyHistoryService extends IService<MyHistory> {

    /**
     * 查询聊天列表
     */
    List<ChatVo> selectMyHistoryList(String keyword, MiniLoginUser currentUser);

    /**
     * 查询历史记录
     */
    List<MyHistory> selectMyHistory(MyHistory myHistory);

}
